package com.wei;

import java.util.Map;

//  具体原型类
public class ConcretePrototype extends AbstractPrototype {
    public ConcretePrototype(Integer id, String name, Map<String, Double> scores) {
        super(id, name, scores);
    }

    public void show() {
        System.out.println("id:" + this.getId());
        System.out.println("name:" + this.getName());
        System.out.println("score" + this.getScores());
    }
}
